package com.cuoyi.coupon.mall.mybatis.mapper;

import com.cuoyi.coupon.mall.model.res.TransCodeResp;
import com.cuoyi.coupon.mall.mybatis.entity.TransCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 转码数据（含二维码转码和券码转码） Mapper 接口
 * </p>
 *
 * @author Mybatis Plus Generator
 * @since 2022-03-04 11:15:48
 */
public interface TransCodeMapper extends BaseMapper<TransCode> {

    Integer selectLastOne();

    List<TransCodeResp> getPageTransCode(Map<String, Object> params);

}
